Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: render markdown in calendar event descriptions #76

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

jdwillemse
Copy link

This resolves #66 and also adds the option to format calendar descriptions better

@xhain-ci
Copy link

xhain-ci commented Apr 3, 2024

Deployment of preview was successful: https://xHain-hackspace-xhain-website-pr-76.surge.sh

@@ -82,4 +82,8 @@ <h1 id="article-title">{{ .Title }}</h1>
aria-modal="true"
></div>
</main>

{{/* render the event descriptions as markdown */}}
<script src="https://cdn.jsdelivr.net/npm/marked/marked.min.js"></script>
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's not load libraries from external sources. Include it in the codebase, please.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I did it this way since we don't currently use any package managers. If that's the preferred option I'll refactor.


* just edit new post in the "content"-folder
- just edit new post in the "content"-folder

## Calendar

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The formatting changes were made by prettier to bring the file in line with best practices

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Calendar: Clickable links in modal
3 participants